{extend name="./view/base/admin.html" /}
{block name="body"}
<div class="card">
    <div class="card-body">
        <form @submit.prevent="submit">
            <div class="form-group">
                <label>分类名称</label>
                <input class="form-control" type="text" v-model="form.name">
            </div>
            <div class="form-group">
                <label>标识</label>
                <input class="form-control" type="text" v-model="form.alias">
            </div>
            <button class="btn btn-sm btn-info" type="submit">提交</button>
        </form>
    </div>
</div>
{/block}
{block name="script"}
<script>
    new Vue({
        el: '#content',
        data() {
            return {
                form: {
                    name: '',
                    alias:'',
                },
            }
        }
    })
</script>
{/block}